#{extends 'main.html' /} #{set title:'Edit' /}


<div id=main>
	<br>

	<h1>Edit Profile</h1>
	<form action="@{Usercontroller.userEdited()}" method="Post">

		<label for="username">Name:</label> <input value=${user.name}
			type="text" required="true" name=myName> <br /> <br /> <label
			for="usermail">E-mail address:</label> <input value=${user.email}
			type="email" required="true" name=myMail> <br /> <br /> <label
			for="userpass">Password:</label> <input value=${user.password}
			type="text" required="true" name=myPassword> <br /> <br />
		contribution preference :<select name="contributionPreference">
			<option>${user.contribution_preference}</option>
			<option>True</option>
			<option>False</option>
		</select><br /> <br /> subscribe_preference : <select select
			name="subscribePreference">
			<option>${user.subscribe_preference}</option>
			<option>True</option>
			<option>False</option>
		</select><br /> <br /> <input type="submit" class="btn save"
			value="Save changes" /><br />

	</form>





</div>

